package org.budo.ocr.service.impl;

import org.budo.ocr.service.api.OcrRequest;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @author limingwei
 */
@Getter
@Setter
@Accessors(chain = true)
public class ByteArrayOcrRequest implements OcrRequest {
    private byte[] byteArray;

    public ByteArrayOcrRequest() {}

    public ByteArrayOcrRequest(byte[] byteArray) {
        this.byteArray = byteArray;
    }

    @Override
    public String toString() {
        return super.toString() + ", byteArray=" + this.getByteArray();
    }
}